package isp.apps.example.shoppingcart.persistence.factory;

import isp.apps.example.shoppingcart.persistence.CreditCardDirectory;
import isp.apps.example.shoppingcart.persistence.CreditCardRepository;
import isp.apps.example.shoppingcart.persistence.hibernate.HibernateCreditCardDirectory;
import isp.apps.example.shoppingcart.persistence.hibernate.HibernateCreditCardRepository;

public class CreditCardPersistenceFactory
{
  public CreditCardPersistenceFactory()
  {
  }

  public static CreditCardDirectory getCreditCardDirectory()
  {
    return new HibernateCreditCardDirectory();
  }
  
  public static CreditCardRepository getCreditCardRepository()
  {
   return new HibernateCreditCardRepository();
  }
}